﻿using Bilgesoft.Enterprise.Shared.DataObjects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using System.Threading.Tasks;

namespace Bilgesoft.Enterprise.Shared.ServiceContracts
{
    [ServiceContract]
    public interface IEnterpriseService
    {
        [WebGet(ResponseFormat=WebMessageFormat.Json)]
        [OperationContract]
        CityDTO[] GetCities();

        [WebGet(ResponseFormat = WebMessageFormat.Json,UriTemplate="GetCities/{id}")]
        [OperationContract]
        CityDTO[] GetCitiesById(string id);
    }
}
